home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
amos
/
amosprog.lha
/
Demko2.AMOS
/
Demko2.amosSourceCode
Wrap
AMOS Source Code
|
1995-04-04
|
662b
|
41 lines
Hide
Degree
Screen Open 1,640,512,16,Hires+Laced
Curs Off : Flash Off : Cls 0
KONIEC1=False : KONIEC2=False
'Palette 0,$FFF
XS1=160*2
YS1=128*2
RX1=100*2
RY1=100*2
KROK1#=0.5
XS2=160*2
YS2=128*2
RX2=50*2
RY2=50*2
KROK2#=5.05
Degree
For I=0 To 15
Colour I,I*256
Next
KOLOR=1
KONIEC=False : KONIEC2=False
Repeat
Add KOLOR,1,1 To 15 : Ink KOLOR
ALFA1#=ALFA1#+KROK1#
If ALFA1#>=360 Then ALFA1#=0 : KONIEC1=True
ALFA2#=ALFA2#+KROK2#
If ALFA2#>=360 Then ALFA2#=0 : KONIEC2=True
X1=XS1+RX1*Sin(ALFA1#) : Y1=YS1+RY1*Cos(ALFA1#)
X2=XS2+RX2*Sin(ALFA2#) : Y2=YS2+RY2*Cos(ALFA2#)
Draw X1,Y1 To X2,Y2
Until KONIEC1=True and KONIEC2=True
Shift Up 1,1,15,1
Wait Key